package com.blog.cloud.auth.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户表(User)表控制层
 *
 * @author 龙茶清欢
 * @since 2024-08-15 19:51:58
 */
@RestController
@RequestMapping("/sms")
@RequiredArgsConstructor
@Tag(name = "用户表管理", description = "用户表管理")
public class SmsCodeController {
    
    @GetMapping("/tencent/send-code")
    public String sendSmsCode(String mobile) {
        // TODO: 发送短信验证码
        return "success";
    }
    
    @GetMapping("/tencent/verify-code")
    public String verifySmsCode(String mobile, String code) {
        // TODO: 校验短信验证码
        return "success";
    }
}
